package com.tvunetworks.center.device.service;

import java.io.IOException;
import java.util.List;
/**
 * @program: tvucc-aggregator
 * @author lebronchen
 * @create: 2019-03-26 10:30
 **/
public interface TokenService {


    /**
     *
     * @param tokenCode tokenCode
     * @param sid sid
     * @param jessionId jessionId
     * @param description description
     * @param willAddRIds willAddRIds
     * @return String
     * @throws IOException 编译异常
     */
    String pairTokenGrid(String tokenCode,String sid,String jessionId,String description,String willAddRIds) throws IOException;

    /**
     *
     * 查询T 通过token 配对的R
     *
     * @param tId tId
     * @return List
     * @throws IOException 编译异常
     */
    List<String> listTTokenPairR(String tId) throws IOException;

}
